#include "UDP_server.hpp"
void Usage(const char* argc0)
{
    std::cout << "Usage Method: \n\n\t" << argc0 << " server_port\n" << std::endl;
}

int main(int argv, char* argc[])
{
    if(argv != 2)
    {
        Usage(argc[0]);
        return 0;
    }
    in_port_t server_port = std::stoi(argc[1]);

    UDP_server server(server_port);

    server.Init();
    
    server.Start();
    return 0;
}
